package com.ems.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ems.vo.BaseVo;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 商户/部门表
 * </p>
 * @author WuZH
 * @since 2023-10-24
 */
@Data
@TableName ("merchant_info")
@ApiModel (value = "MerchantEntity对象", description = "商户/部门表")
public class MerchantEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("商户Id")
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty ("商户名称")
    @TableField ("merchantName")
    private String merchantName;

    @ApiModelProperty ("联系电话")
    @TableField ("telPhone")
    private String telPhone;

    @ApiModelProperty ("联系人姓名")
    @TableField ("contact")
    private String contact;

    @ApiModelProperty ("详细地址")
    @TableField ("address")
    private String address;

    @ApiModelProperty ("商户描述")
    @TableField ("merchantDesc")
    private String merchantDesc;

    @ApiModelProperty ("上级商户")
    @TableField ("parentId")
    private String parentId;

    @ApiModelProperty ("商户logo")
    @TableField ("logo")
    private String logo;

    @ApiModelProperty ("邮件数量")
    @TableField ("emailNumber")
    private Integer emailNumber;

    @ApiModelProperty ("短信数量")
    @TableField ("messageNumber")
    private Integer messageNumber;

    @TableField ("createTime")
    private Date createTime;

    @TableField ("changeTime")
    private Date changeTime;

    @TableField ("isUsed")
    private Integer isUsed;


}
